<!DOCTYPE html>
<html>

	<head>
		<title>取词翻译扩展程序选项</title>
		<meta charset="utf-8" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="css/options.css">
		<script type="text/javascript" src="js/options.js" ></script>
	</head>
	<body>
		<div id="content">
			<h1>
        <img src='img/translate.png'
             title="Translate" alt="Translate"><br>
         <div id="options-title-heading">Chrome扩展程序选项</div>
      </h1>
			<div class="option_row">
				<div id="te-option" class="option_name">默认翻译引擎:</div>
				<div class="te_option_item opt-radiobutton" data-value="0" tabindex="0" style="user-select: none;">
					<span class="opt-radiobutton-radio"></span>
					<div class="opt-radiobutton-label">谷歌翻译</div>
				</div>
				<div class="te_option_item opt-radiobutton" tabindex="0" data-value="1" style="user-select: none;">
					<span class="opt-radiobutton-radio"></span>
					<div class="opt-radiobutton-label">百度翻译</div>
				</div>
			</div>
			<div class="option_row">
				<div id="way-option" class="option_name">弹出翻译：</div>
				<div id="way-option-content" class="option_picker">
					<div id="way-option-title">在我选中字词或短语时：</div>
					<div class="way_option_item opt-radiobutton" data-value="0" tabindex="0" style="user-select: none;">
						<span class="opt-radiobutton-radio"></span>
						<div class="opt-radiobutton-label">按Ctrl键弹出翻译。</div>
					</div>
					<div class="way_option_item opt-radiobutton" data-value="1" tabindex="0" style="user-select: none;">
						<span class="opt-radiobutton-radio"></span>
						<div class="opt-radiobutton-label">立即弹出翻译。</div>
					</div>
				</div>
			</div>

			<div class="buttons">
				<div id="saveBtn" class="opt-button-action opt-button opt-button-clear-outline" style="user-select: none;">保存</div>
				<div id="resetBtn" class="opt-button-standard opt-button" style="user-select: none;">重置</div>
				<span id="saveStatus" style="display: none;">选项已保存。</span><!--transition: opacity 0.4s ease-out 0s; opacity: 0;-->
			</div>
		</div>
		<!-- end of content div -->
	</body>
<!--	<script>
		var language = navigator.browserLanguage?navigator.browserLanguage:navigator.language; 
alert(language); 
	</script>-->
</html>